package test

import (
	_ "gitee.com/shiwjlinux/arm/apps"
	"gitee.com/shiwjlinux/arm/conf"
	"gitee.com/shiwjlinux/arm/ioc"
)

func Setup() {
	if err := conf.LoadConfigFromEnv(); err != nil {
		panic(err)
	}

	if err := ioc.Controller.Init(); err != nil {
		panic(err)
	}
}
